package User;

import java.util.Scanner;
import java.util.Scanner;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 34255
 * Date: 2024-05-24
 * Time: 17:26
 */
public class RegularUsers extends User{

    public RegularUsers(String name) {
        super(name);
    }

    @Override
    public int menu() {
        System.out.println("***********用户菜单**********");
        System.out.println("          1.查找图书        ");
        System.out.println("          2.借阅图书        ");
        System.out.println("          3.归还图书        ");
        System.out.println("          4.退出系统        ");
        System.out.println("****************************");
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入您要使用的功能");
        return scanner.nextInt();
    }
}
